Fix deploy workflow failure when GitHub Pages is not pre-enabled - #2
Fix deploy workflow failure when GitHub Pages is not pre-enabled#2essajassim90-arch with Copilot wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Enables GitHub Pages automatically during deployment setup, preventing first-time configuration failures.
Changes:
- Adds
enablement: truetoactions/configure-pages@v5.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
essajassim90-arch
left a comment
There was a problem hiding this comment.
@copilot important fix
|
@copilot resolve the merge conflicts on this branch. |
1 similar comment
|
@copilot resolve the merge conflicts on this branch. |
Addressed in The fix now targets the active Pages workflow ( |
…thub-actions-job # Conflicts: # .github/workflows/deploy.yml
Addressed in The branch has been merged with
Addressed in The branch has been merged with |
The
deployGitHub Actions job failed atactions/configure-pagesbecause the repository did not yet have a Pages site configured. This change updates the workflow to enable Pages during setup instead of assuming prior manual configuration.Root cause addressed
actions/configure-pages@v5returnedNot Foundfor the Pages site API when Pages had not been initialized for the repo.Workflow change
.github/workflows/static.ymlto passenablement: truetoactions/configure-pages@v5.Relevant diff